<template>
    <div class="ueditor-container">
        <quill-editor v-model="content"
                      :config="editorOption">
        </quill-editor>
    </div>
</template>
<script>
    import { quillEditor } from 'vue-quill-editor'; //调用编辑器

    export default {
        name: 'UE',
        data () {
            return {
                content: '',
                editorOption: {}
            }
        },
        components: {
            "quill-editor": quillEditor
        }
    }
</script>
<style type="text/scss" lang="scss">
    .ueditor-container {
        .ql-editor {
            min-height: 400px;
            height: 400px;
        }
        .ueditor-submit {
            margin-top: 20px;
        }
    }
</style>